package structures;

import pack.MyReader;

public class CardActivityDailyRecord {
	
	public static int size = 10;

	public final int activityPreviousRecordLength; //2
	public final TimeReal activityRecordDate; //4 
	public final DailyPresenceCounter activityDailyPresenceCounter; //2
	public final Distance activityDayDistance;  //2
	public final ActivityChangeInfo activityChangeInfo; //2
	
	public CardActivityDailyRecord(MyReader reader)
	{
		activityPreviousRecordLength = reader.readInt(2);
		activityRecordDate = new TimeReal(reader);
		activityDailyPresenceCounter = new DailyPresenceCounter(reader);
		activityDayDistance = new Distance(reader);
		activityChangeInfo = new ActivityChangeInfo(reader);
	}
	
}
